package org.openinsula.jazz.resolver.itmill;

import org.openinsula.jazz.resolver.Resolver;

import com.itmill.toolkit.ui.TextField;

public class TextFieldResolver implements Resolver {

	@Override
	public Object getValue(Object bean) {
		TextField textField = (TextField) bean;
		return textField.getValue();
	}

	@Override
	public void setValue(Object bean, Object value) {
		TextField textField = (TextField) bean;
		textField.setValue(value);
	}

}
